package cn.cnf.mapper;

import cn.cnf.entity.Collect;
import cn.cnf.entity.Comic;
import cn.cnf.entity.Novel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (collection)数据Mapper
 *
 * @author ZhuMeiYi
 * @since 2021-02-16 09:46:41
 * @description 
*/
@Mapper
public interface CollectionMapper extends BaseMapper<Collect> {
     List<Comic> personalComicCollect(Page<Collect> page, @Param("username")String username);

     List<Novel> personalNovelCollect(Page<Collect> objectPage, @Param("username")String currentUserName);
}
